<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
 
$db['prizemember']=array (
  'columns' => 
  array (
     
	
	'primem_id' =>
    array (
      'type' => 'bigint unsigned',
      'extra' => 'auto_increment',
      'pkey' => true,
      'label' => app::get('b2c')->_('中奖记录ID'),
      'required' => true,
      'editable' => false,
	 
      'in_list' => true,
      'default_in_list' => true,
    ),

    'activity_type' =>
    array (
      'type' =>
      array (
        'activity1' => app::get('b2c')->_('活动1'),
        'activity2' => app::get('b2c')->_('活动2'),
        'activity3' => app::get('b2c')->_('活动3'),
        'activity4'=>app::get('b2c')->_('活动4'),
      ),
      'default' => 'activity1',
      'required' => true,
      'editable' => false,
	  'in_list' => true,
      'comment' => app::get('b2c')->_('活动类型'),
    ),

    
    'prize_name' => 
    array (
      'type' => 'varchar(1000)',
      'label' => app::get('b2c')->_('奖品名称'),
      'comment' => app::get('b2c')->_('奖品名称'),
      'editable' => false,
      'filtertype' => 'normal',
      'filterdefault' => true,
      'in_list' => true,
      'default_in_list' => true,
    ),

    'member'=>
          array (
              'type' => 'varchar(200)',
              'label' => app::get('b2c')->_('会员名称'),
              'comment' => app::get('b2c')->_('会员名称'),
              'editable' => false,
              'filtertype' => 'normal',
              'in_list' => true,
              'default_in_list' => true,
          ),

    'create_time' =>
    array (
      'type' => 'time',
      'label' => app::get('b2c')->_('单据创建时间'),
      'comment' => app::get('b2c')->_('单据生成时间'),
      'editable' => false,
      'filtertype' => 'time',
      'in_list' => true,
      'default_in_list' => true,
    ),
    
  ),
  'engine' => 'innodb',
   
  'version' => '$Rev: 43385 $',
  'comment' => app::get('b2c')->_('会员中奖奖品'),
);
